Ext.define('Jee.controller.MainController',{
      extend : 'Ext.app.Controller',
      alias : ['widget.mainContraller'],
      views : ['Header','Footer','Main','Left','Tip','Login'],
      stores: ['MenuStore'],
      refs : [
           {ref: 'main', selector: 'main'},
           {ref: 'header', selector: 'header'},
           {ref: 'footer', selector: 'footer'},
           {ref: 'left', selector: 'left'},
           {ref: 'tip', selector: 'tip'}
      ],

       onLaunch : function(){
	         var win;
	         if(!win){
	        	 win = Ext.create('Jee.view.Login').show();  
	         }
       }
});